package com.jic.member.mapper;
import com.jic.common.base.orm.BaseMapper;
import com.jic.member.entity.TripExecuteInfoEntity;
import com.jic.member.response.UserSendSmsCountResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TripExecuteInfoEntityMapper extends BaseMapper<TripExecuteInfoEntity>{

    long foreachInsert(@Param("list") List<TripExecuteInfoEntity> tripExecuteInfoEntity);

    List<UserSendSmsCountResponse> getSendSmsByDay(@Param("userIds") String userIds);

    List<UserSendSmsCountResponse> getSendSmsByWeek(@Param("userIds") String userIds);

    List<UserSendSmsCountResponse> getSendSmsByMonth(@Param("userIds") String userIds);


}